package com.androidx.p013lv.base.http;

import android.text.TextUtils;
import com.androidx.p013lv.base.utils.SpUtils;

/* renamed from: com.androidx.lv.base.http.UrlManager */
public class UrlManager {
    String baseUrl;

    /* access modifiers changed from: private */
    /* renamed from: com.androidx.lv.base.http.UrlManager$SingletonHolder */
    public static class SingletonHolder {
        private static final UrlManager instance = new UrlManager();

        private SingletonHolder() {
        }
    }

    private UrlManager() {
        this.baseUrl = "";
    }

    public static final UrlManager getInsatance() {
        return SingletonHolder.instance;
    }

    public void setBaseUrl(String str) {
        this.baseUrl = str;
        SpUtils.getInstance().put("baseUrl", this.baseUrl);
    }

    public String getBaseUrl() {
        if (TextUtils.isEmpty(this.baseUrl)) {
            this.baseUrl = SpUtils.getInstance().getString("baseUrl");
        }
        return this.baseUrl;
    }

    public String playBasePreview() {
        return this.baseUrl + "/api/m3u8/decode?path=";
    }

    public String brushPlay(String str) {
        return this.baseUrl + "/api/m3u8/decode/brush?path=" + str;
    }

    public String startApp() {
        return getBaseUrl() + "/api/user/startApp";
    }

    public String playBaseFull() {
        return this.baseUrl + "/api/m3u8/decode/";
    }

    public String playBaseFull2(int i) {
        return this.baseUrl + "/api/m3u8/decode/by/id?videoId=" + i;
    }

    public String recommendVideo(String str, int i) {
        if (TextUtils.isEmpty(str)) {
            return getBaseUrl() + "/api/video/daily/recommend?loadType=" + i;
        }
        return getBaseUrl() + "/api/video/daily/recommend?recAt=" + str + "&loadType=" + i;
    }

    public String travelerLogin() {
        return getBaseUrl() + "/api/user/traveler";
    }

    public String userInfo() {
        return getBaseUrl() + "/api/user/base/info";
    }

    public String cancelVideoLike() {
        return getBaseUrl() + "/api/video/cancelVideoLike";
    }

    public String addStatisticsTimes() {
        return getBaseUrl() + "/api/video/addStatisticsTimes";
    }

    public String likeVideo() {
        return getBaseUrl() + "/api/video/likeVideo";
    }

    public String saveAttention() {
        return getBaseUrl() + "/api/user/attention/save";
    }

    public String cancelAttention() {
        return getBaseUrl() + "/api/user/attention/cancel";
    }

    public String userCollections(int i, boolean z) {
        return getBaseUrl() + "/api/video/userFavorites?pageSize=30&page=" + i + "&brush=" + z;
    }

    public String userBuyVideoData(int i, boolean z) {
        return getBaseUrl() + "/api/video/userPurVideo?pageSize=30&page=" + i + "&brush=" + z;
    }

    public String attentionUserList(int i) {
        return getBaseUrl() + "/api/user/attention/attentionUserList?pageSize=30&page=" + i;
    }

    public String hotList() {
        return getBaseUrl() + "/api/video/hot/list";
    }

    public String queryVideoByTitle(String str, int i) {
        return getBaseUrl() + "/api/video/queryVideoByTitle?pageSize=30&title=" + str + "&lastId=" + i;
    }

    public String queryVideoByTitleNew(String str, int i) {
        return getBaseUrl() + "/api/video/queryVideoByKeyWord?pageSize=30&title=" + str + "&lastId=" + i;
    }

    public String modifyInfo() {
        return getBaseUrl() + "/api/user/modify/info";
    }

    public String vipCardList() {
        return getBaseUrl() + "/api/user/vip/card/list";
    }

    public String exchangeReCode(String str) {
        return getBaseUrl() + "/api/user/redeem/info?reCode=" + str;
    }

    public String exchangeVipCode() {
        return getBaseUrl() + "/api/user/redeem/vip";
    }

    public String purchaseRecord(int i) {
        return getBaseUrl() + "/api/rech/list?pageSize=30&&page=" + i;
    }

    public String getPayUrl() {
        return getBaseUrl() + "/api/rech/sumbit";
    }

    public String classifyList() {
        return getBaseUrl() + "/api/video/tags/classifyList";
    }

    public String carefullyList() {
        return getBaseUrl() + "/api/video/choice/list";
    }

    public String walletHistory(int i, String str, String str2) {
        return getBaseUrl() + "/api/tran/view/list?currencyType=" + i + "&startTime=" + str + "&endTime=" + str2;
    }

    public String queryVideoByChoice() {
        return getBaseUrl() + "/api/video/queryVideoByChoice";
    }

    public String OnlineService() {
        return getBaseUrl() + "/api/news/customer/sign";
    }

    public String adverList() {
        return getBaseUrl() + "/api/sys/advertisement/list";
    }

    public String mobileAction() {
        return getBaseUrl() + "/api/user/mobile/action";
    }

    public String getCaptcha() {
        return getBaseUrl() + "/api/user/captcha";
    }

    public String bindMobile() {
        return getBaseUrl() + "/api/user/bind/mobile";
    }

    public String canWatch() {
        return getBaseUrl() + "/api/video/can/watch";
    }

    public String userBuyVideo() {
        return getBaseUrl() + "/api/tran/pur/video";
    }

    public String checkVersionState() {
        return getBaseUrl() + "/api/sys/version/update";
    }

    public String noticeMessage() {
        return getBaseUrl() + "/api/sys/ann";
    }

    public String videoById(int i) {
        return getBaseUrl() + "/api/video/getVideoById?videoId=" + i;
    }

    public String addGroup() {
        return getBaseUrl() + "/api/sys/group/list";
    }

    public String login() {
        return getBaseUrl() + "/api/user/login";
    }

    public String proxyData() {
        return getBaseUrl() + "/api/user/proxy/data";
    }

    public String proxyDataInfo() {
        return getBaseUrl() + "/api/user/proxy/data/dtl";
    }

    public String userAccList() {
        return getBaseUrl() + "/api/user/acc/list";
    }

    public String getLevel() {
        return getBaseUrl() + "/api/user/grade/privilege";
    }

    public String uploadAvatar() {
        return getBaseUrl() + "/file/upload/multipart/img";
    }

    public String queryContentList(int i, String str) {
        return getBaseUrl() + "/api/user/queryContentList?contentName=" + str + "&page=" + i + "&pageSize=50";
    }

    public String queryStations(int i) {
        return getBaseUrl() + "/api/station/new/queryStations?classifyId=" + i;
    }

    public String queryBatchMainVideo(int i, int i2, int i3) {
        return getBaseUrl() + "/api/station/queryBatchMainVideo?stationId=" + i + "&pageSize=4&sortNum=" + i2 + "&lastId=" + i3;
    }

    public String queryBatchVideo(int i, int i2, int i3) {
        return getBaseUrl() + "/api/station/queryBatchVideo?stationId=" + i + "&pageSize=" + i2 + "&lastId=" + i3;
    }

    public String queryVideoMore(int i, int i2, int i3) {
        return getBaseUrl() + "/api/station/queryVideoMore?stationId=" + i + "&lastId=" + i2 + "&pageSize=" + i3;
    }

    public String queryContentMore(int i, int i2, int i3, int i4) {
        return getBaseUrl() + "/api/station/queryContentMore?stationId=" + i + "&lastId=" + i2 + "&pageSize=" + i3 + "&stationType=" + i4;
    }

    public String queryContentInfo(int i) {
        return getBaseUrl() + "/api/station/queryContentInfo?contentId=" + i;
    }

    public String queryContentVideo(int i, int i2, int i3) {
        return getBaseUrl() + "/api/station/queryContentVideo?contentId=" + i + "&lastId=" + i2 + "&pageSize=" + i3;
    }

    public String queryBoard() {
        return getBaseUrl() + "/api/station/queryBoard";
    }

    public String queryBoardRecord(int i) {
        return getBaseUrl() + "/api/station/queryBoardRecord?type=" + i;
    }

    public String adUpload() {
        return getBaseUrl() + "/api/sys/click/upload";
    }

    public String userVideoScore() {
        return getBaseUrl() + "/api/video/user/score";
    }

    public String relatedVideo(int i) {
        return getBaseUrl() + "/api/video/related/random?videoId=" + i;
    }

    public String guessLikeVideo(int i) {
        return getBaseUrl() + "/api/video/guess/like?videoId=" + i;
    }

    public String guessLikeVideoNew(int i) {
        return getBaseUrl() + "/api/video/guess/likeByTag?videoId=" + i;
    }

    public String shareLink(int i) {
        return getBaseUrl() + "/api/user/shared/link?videoId=" + i;
    }

    public String getCityInfo() {
        return getBaseUrl() + "/api/region/regionList";
    }

    public String officialList(String str, int i, int i2) {
        return getBaseUrl() + "/api/operation/user/officialList?cityName=" + str + "&lastId=" + i + "&pageSize=" + i2;
    }

    public String squareList(String str, int i, int i2) {
        return getBaseUrl() + "/api/operation/user/squareList?cityName=" + str + "&lastId=" + i + "&pageSize=" + i2;
    }

    public String fanList(int i, int i2) {
        return getBaseUrl() + "/api/user/fan/list?userId=" + i + "&page=" + i2;
    }

    public String operationUserInfo(int i) {
        return getBaseUrl() + "/api/operation/user/getUserInfo?userId=" + i;
    }

    public String followUser() {
        return getBaseUrl() + "/api/user/fan/add";
    }

    public String cancelFollowUser() {
        return getBaseUrl() + "/api/user/fan/cancel";
    }

    public String meetLock() {
        return getBaseUrl() + "/api/tran/pur/meetLock";
    }

    public String reward() {
        return getBaseUrl() + "/api/tran/pur/reward";
    }

    public String getWordOfMouth(int i, String str) {
        return getBaseUrl() + "/api/operation/user/getFeedback?pageSize=30&userId=" + i + "&recordAt=" + str;
    }

    public String dynamicList(int i, int i2) {
        if (i != -1 && i2 != 0) {
            return getBaseUrl() + "/api/meet/bar/dynamic/list?userId=" + i + "&lastDynamicId=" + i2;
        } else if (i == -1 && i2 != 0) {
            return getBaseUrl() + "/api/meet/bar/dynamic/list?lastDynamicId=" + i2;
        } else if (i == -1 && i2 == 0) {
            return getBaseUrl() + "/api/meet/bar/dynamic/list";
        } else {
            return getBaseUrl() + "/api/meet/bar/dynamic/list?userId=" + i;
        }
    }

    public String likeDynamic() {
        return getBaseUrl() + "/api/meet/bar/dynamic/like";
    }

    public String likeUnDynamic() {
        return getBaseUrl() + "/api/meet/bar/dynamic/unLike";
    }

    public String getDynamicPlayBaseUrl() {
        return this.baseUrl + "/api/m3u8/decode/dynamic?path=";
    }

    public String recommendClick(String str, String str2) {
        return this.baseUrl + "/api/video/daily/recommend/click?videoId=" + str + "&recAt=" + str2;
    }

    public String loadDynamicComment(int i, long j) {
        return getBaseUrl() + "/api/meet/bar/dynamic/commentList?pageSize=30&lastId=" + j + "&dynamicId=" + i;
    }

    public String commitDynamicComment() {
        return getBaseUrl() + "/api/meet/bar/dynamic/saveComment";
    }

    public String replyDynamicComment() {
        return getBaseUrl() + "/api/meet/bar/dynamic/saveCommentReply";
    }

    public String commentAboutLike() {
        return getBaseUrl() + "/api/meet/bar/dynamic/comment/saveLike";
    }

    public String commentAboutUnLike() {
        return getBaseUrl() + "/api/meet/bar/dynamic/comment/unLike";
    }

    public String uploadImg() {
        return getBaseUrl() + "/file/upload/multipart/img";
    }

    public String releaseDynamic() {
        return getBaseUrl() + "/api/meet/bar/dynamic/release";
    }

    public String urlSend() {
        return getBaseUrl() + "/file/upload/video";
    }

    public String addVideo() {
        return getBaseUrl() + "/api/video/addVideo";
    }

    public String videoOk() {
        return getBaseUrl() + "/file/upload/videoOk";
    }

    public String saveCoverImage() {
        return getBaseUrl() + "/api/operation/user/addBgImg";
    }

    public String deleteCoverImage() {
        return getBaseUrl() + "/api/operation/user/delBgImg";
    }

    public String queryBrushStation() {
        return getBaseUrl() + "/api/video/brush/list";
    }

    public String userFansList(int i, int i2) {
        return getBaseUrl() + "/api/user/fan/followed/list?pageSize=30&userId=" + i + "&page=" + i2;
    }

    public String notificationList(int i) {
        return getBaseUrl() + "/api/news/add/list?pageSize=30&page=" + i;
    }

    public String dynamicCommentMessage(int i) {
        return getBaseUrl() + "/api/news/dynamic/comment/list?pageSize=30&page=" + i;
    }

    public String dynamicLikeMessage(int i) {
        return getBaseUrl() + "/api/news/dynamic/like/list?pageSize=30&page=" + i;
    }

    public String isPurVideo(int i) {
        return getBaseUrl() + "/api/video/isPurVideo?videoId=" + i;
    }

    public String newDynamicList(int i, int i2, int i3) {
        return getBaseUrl() + "/api/meet/bar/dynamic/news/list?lastDynamicId=" + i + "&loadType=" + i2 + "&page=" + i3 + "&pageSize=30";
    }

    public String getActivityInto() {
        return getBaseUrl() + "/api/activity/into";
    }

    public String deductType() {
        return getBaseUrl() + "/api/deduct/type";
    }

    public String piazzaData() {
        return getBaseUrl() + "/api/operation/user/configImg";
    }

    public String recoverAccount() {
        return getBaseUrl() + "/api/user/traveler/scan";
    }

    public String adRentalList() {
        return getBaseUrl() + "/api/ad/rental/list";
    }

    public String getH5Url() {
        return getBaseUrl() + "/api/url/recommend/getH5Url";
    }

    public String ShareLink() {
        return getBaseUrl() + "/api/user/shared/link";
    }

    public String getDynamicM3u8(int i) {
        return getBaseUrl() + "/api/m3u8/get/m3u8/dynamic?dynamicId=" + i;
    }

    public String getDownLoadNum() {
        return getBaseUrl() + "/api/sys/get/downloadNum";
    }

    public String playEncUrl() {
        return this.baseUrl + "/api/m3u8/enc/key";
    }

    public String getFeaturedContentList(int i) {
        return getBaseUrl() + "/api/content/getFeaturedContentList?type=" + i;
    }

    public String querySvipStations() {
        return getBaseUrl() + "/api/station/new/getSvipStationData";
    }

    public String queryRecommendMore(int i, int i2, int i3, int i4) {
        return getBaseUrl() + "/api/station/new/getStationTypeStation?stationId=" + i + "&lastId=" + i2 + "&pageSize=" + i3 + "&stationType=" + i4;
    }

    public String queryVideoByTag(int i, int i2, String str) {
        return getBaseUrl() + "/api/video/queryVideoByTag?choiceSort=" + i + "&lastId=" + i2 + "&pageSize=20&tagTitle=" + str;
    }

    public String getLabelVideos() {
        return getBaseUrl() + "/api/video/getVideos";
    }

    public String getTagsById(int i) {
        return getBaseUrl() + "/api/video/tags/getTagsByClassify?classifyId=" + i;
    }

    public String getSignUrl() {
        return getBaseUrl() + "/api/activity/signInto";
    }

    public String getNovelSearchList(String str, int i, int i2) {
        return getBaseUrl() + "/api/fiction/base/searchList?pageSize=30&page=" + i + "&searchWord=" + str + "&fictionType=" + i2;
    }

    public String novelHotList() {
        return getBaseUrl() + "/api/fiction/other/hotWordList";
    }

    public String getNovelHotSearch(int i, int i2) {
        return getBaseUrl() + "/api/fiction/hotSearch/getFictionHotSearchAll?fictionType=" + i + "&lastId=" + 0 + "&pageSize=" + i2;
    }

    public String getFictionHotSearchTop(int i) {
        return getBaseUrl() + "/api/fiction/hotSearch/getFictionHotSearchTop10?fictionType=" + i;
    }

    public String getAudioFictionList() {
        return getBaseUrl() + "/api/fiction/station/getFictionStation";
    }

    public String getFictionClassList(int i) {
        return getBaseUrl() + "/api/fiction/other/classList?fictionType=" + i;
    }

    public String getNovelGuessLike(int i) {
        return getBaseUrl() + "/api/fiction/base/getRec?fictionId=" + i;
    }

    public String getNovelInfo(int i) {
        return getBaseUrl() + "/api/fiction/base/info?fictionId=" + i;
    }

    public String getNovelChapterInfo(int i, int i2) {
        return getBaseUrl() + "/api/fiction/base/chapterInfo?fictionId=" + i + "&chapterId=" + i2;
    }

    public String postFictionFindList() {
        return getBaseUrl() + "/api/fiction/base/findList";
    }

    public String collectNovel() {
        return getBaseUrl() + "/api/fiction/like/submit";
    }

    public String attentionAnChorNovel() {
        return getBaseUrl() + "/api/fiction/attention/anchor/submit";
    }

    public String fictionBuyList(String str, int i) {
        return getBaseUrl() + "/api/fiction/buy/list?lastId=" + str + "&pageSize=" + i;
    }

    public String fictionLikeList(String str, int i) {
        return getBaseUrl() + "/api/fiction/like/list?lastId=" + str + "&pageSize=" + i;
    }

    public String fictionAttentionAnchorList(String str, int i) {
        return getBaseUrl() + "/api/fiction/attention/anchor/list?lastId=" + str + "&pageSize=" + i;
    }

    public String novelCommentList(int i, int i2, String str) {
        return getBaseUrl() + "/api/fiction/comment/list?pageSize=30&fictionId=" + i + "&chapterId=" + i2 + "&lastId=" + str;
    }

    public String novelLike() {
        return getBaseUrl() + "/api/fiction/comment/save/like";
    }

    public String novelDislike() {
        return getBaseUrl() + "/api/fiction/comment/un/like";
    }

    public String novelComment() {
        return getBaseUrl() + "/api/fiction/save/comment";
    }

    public String getTagsAllId(int i) {
        return getBaseUrl() + "/api/fiction/other/tagList?tagType=" + i;
    }

    public String getStationFictionMore(int i, int i2, int i3) {
        return getBaseUrl() + "/api/fiction/station/getStationFictionMore?stationId=" + i + "&lastId=" + i2 + "&pageSize=" + i3;
    }

    public String getNovelTag(int i, int i2, int i3) {
        return getBaseUrl() + "/api/fiction/base/findListByTag?tagId=" + i + "&page=" + i2 + "&pageSize=" + i3;
    }

    public String changeStationFiction(int i, int i2, int i3) {
        return getBaseUrl() + "/api/fiction/station/changeStationFiction?stationId=" + i + "&lastId=" + i2 + "&pageSize=" + i3;
    }

    public String getFictionAnchorDetail(int i) {
        return getBaseUrl() + "/api/fiction/anchor/getFictionAnchorDetail?anchorId=" + i;
    }

    public String getAnchorFictionList(int i, int i2, int i3, int i4) {
        return getBaseUrl() + "/api/fiction/anchor/getAnchorFictionList?classId=" + i + "&anchorId=" + i2 + "&lastId=" + i3 + "&pageSize=" + i4;
    }

    public String getFictionAnchorList(int i, int i2) {
        return getBaseUrl() + "/api/fiction/anchor/getFictionAnchorList?lastId=" + i + "&pageSize=" + i2;
    }

    public String commitComment() {
        return getBaseUrl() + "/api/comment/saveComment";
    }

    public String getGameAccount() {
        return getBaseUrl() + "/api/game/account/info";
    }

    public String getTransactionInfo(int i) {
        return getBaseUrl() + "/api/game/account/tran/list?pageSize=30&page=" + i;
    }

    public String getWithDrawInfo(int i) {
        return getBaseUrl() + "/api/game/withdraw/list?pageSize=30&page=" + i;
    }

    public String getGameUrl(int i) {
        return getBaseUrl() + "/api/game/into?gameNo=" + i;
    }

    public String getGameChargeList() {
        return getBaseUrl() + "/api/game/product/list";
    }

    public String getGameSwitch() {
        return getBaseUrl() + "/api/sys/loadBeforeConfig";
    }

    public String walletTransfer() {
        return getBaseUrl() + "/api/game/account/transfer";
    }

    public String gameWithDraw() {
        return getBaseUrl() + "/api/game/withdraw/apply";
    }

    public String gameRecharge() {
        return getBaseUrl() + "/api/game/order/submit";
    }

    public String getGameWithDrawConfig() {
        return getBaseUrl() + "/api/game/withdraw/config";
    }
}
